package com.singing.model;

public class Command {
    private int id;
    private String name;
    private boolean needLogin = true;

    public Command(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public Command(int id, String name, boolean needLogin) {
        this.id = id;
        this.name = name;
        this.needLogin = needLogin;
    }

    public boolean isNeedLogin() {
        return needLogin;
    }

    public void setNeedLogin(boolean needLogin) {
        this.needLogin = needLogin;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
